dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteDateTime Structure / ParseExact Method / ParseExact(String,String[]) Method
The System.String to be parsed.
The array of System.String formats that describe elements contained within value.

In This Topic
    ParseExact(String,String[]) Method
    In This Topic
    Converts the specified System.String representation of a date to its SQLiteDateTime equivalent.
    Syntax
    'Declaration
     
    Public Overloads Shared Function ParseExact( _
       ByVal value As String, _
       ByVal formats() As String _
    ) As SQLiteDateTime
    public static SQLiteDateTime ParseExact( 
       string value,
       string[] formats
    )

    Parameters

    value
    The System.String to be parsed.
    formats
    The array of System.String formats that describe elements contained within value.

    Return Value

    a SQLiteDateTime structure equal to the date represented by the specified System.String.
    Remarks
    ParseExact(String,String[]) tries to parse the value using the first format from the formats array. If the value could not be parsed, ParseExact(String,String[]) continues with the second format from the array, and so on.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also